package ua.kpi.javatraining.university;

/**
 * Class for academic unit in university such as lectures and seminars.
 *
 * @author Vasily Yatsenko
 */
public class Lesson {
    private final Subject topic;
    private final Professor lecturer;
    private final LimitedGroup group;
    private int auditory;

    public Lesson(Subject topic, Professor lecturer, LimitedGroup group, int auditory) {
        this.topic = topic;
        this.lecturer = lecturer;
        this.group = group;
        this.auditory = auditory;
    }

    public Subject getTopic() {
        return topic;
    }

    public Professor getLecturer() {
        return lecturer;
    }

    public LimitedGroup getGroup() {
        return group;
    }

    public int getAuditory() {
        return auditory;
    }

    public void setAuditory(int auditory) {
        this.auditory = auditory;
    }
}
